/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


/* theme.scss */

body {
    font-family: $font_0, $font_1;
    color: $color_ironside_gray_approx;
    overflow-x: hidden;
}

header {
    background-color: $white;
    border-bottom: 1px $color_mystic_approx solid;
}

.header-menu {
    .dropdown-menu>li>a {
        color: $color_ironside_gray_approx;
        &:hover {
            color: $color_jungle_green_approx;
        }
        i {
            padding-right: 3px;
        }
    }
    >a {
        display: inline-block;
        color: $color_ironside_gray_approx;
        padding: 15px 14px;
        &:hover {
            border-bottom: 2px solid $color_jungle_green_approx;
            padding: 14px 14px;
            color: $color_jungle_green_approx;
        }
        span {
            padding: 5px;
        }
        i {
            font-size: 18px;
        }
    }
}

.main-search {
    .form-control {
        border: none;
        border-left: 1px $color_mystic_approx solid; //Instead of the line below you could use @include border-radius($radius, $vertical-radius)
        border-radius: 0; //Instead of the line below you could use @include box-shadow($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10)
        box-shadow: none;
        height: 60px;
        font-size: 18px;
        font-style: italic;
    }
    .input-group-addon {
        font-size: 20px;
        color: $color_bombay_approx;
        background: none;
        border: none;
    }
}


.close {
    font-size: 2em;
}

#sideNav-wrapper {
    color: $white;
    font-size: 16px !important;
    .well {
        background-color: $color_tuna_approx;
        border: 1px solid #666363;
        overflow: hidden;
        @include clearfix();
    }
}

.page-title {
    background-color: $white;
    padding: 10px 15px;
    .title {
        padding-top: 0;
        margin-top: 0;
    }
    h1 {
        // margin-top: 50px;
        margin-bottom: 10px;
        font-weight: 600;
        @include ellipsis();
        max-width: 91%;
        display: inline-block;
        small {
            position: relative;
            bottom: 5px;
            margin-left: 15px;
            padding-left: 15px;
            border-left: 1px $color_mystic_approx solid;
            color: $color_bombay_approx;
            font-size: 40%;
            font-weight: 600;
            text-transform: uppercase;
        }
    }
    .sub-title {
        margin-bottom: 40px;
    }
}

.sm-title {
    line-height: 30px;
}

.md-title {
    line-height: 34px;
}

.lg-title {
    line-height: 40px;
}

a {
    color: $color_jungle_green_approx;
    cursor: pointer;
    &:focus {
        color: $color_puerto_rico_approx;
        text-decoration: none;
        outline: none;
        cursor: pointer;
    }
    &:hover {
        color: $color_puerto_rico_approx;
        text-decoration: none;
        cursor: pointer;
    }
}

.cursor-default,
.cursor-default a {
    cursor: default;
}

.blue-link {
    color: $color_havelock_blue_approx;
    &:focus {
        color: $color_havelock_blue_approx;
        text-decoration: none;
        outline: none;
    }
    &:hover {
        color: $color_havelock_blue_approx;
        text-decoration: underline;
    }
}

a[href^="#!/"]:not(.btn, .not-blue-link) {
    @extend .blue-link;
}


th {
    text-transform: capitalize;
}

ul {
    list-style: none;
}

hr[size="10"] {
    margin: 10px 0px;
}

.table {
    margin-bottom: 2px;
    background-color: $white;
    max-width: none;
    .table {
        width: auto;
    }
}

.card {
    background: $white none repeat scroll 0 0; //Instead of the line below you could use @include box-shadow($shadow-1, $shadow-2, $shadow-3, $shadow-4, $shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9, $shadow-10)
    box-shadow: 0 1px 3px $black_30;
    margin-bottom: 30px;
}

// Colors Class
.white-bg {
    background-color: $white;
    padding: 30px 0;
}

.gray-text {
    color: $color_star_dust_approx;
}

.gray-bg {
    background-color: $color_white_lilac_approx
}


.comment-input {
    background-color: $color_white_lilac_approx;
    padding: 20px;
    font-size: 16px;
    margin-bottom: 20px;
}

.comment-box {
    padding: 25px 0;
    margin-top: 25px;
    border-top: 1px $color_mystic_approx solid;
    .comment {
        margin-bottom: 25px;
    }
    .author {
        color: $color_keppel_approx;
        margin-bottom: 0;
    }
    .date {
        color: $color_star_dust_approx;
    }
}


@media (min-width: 768px) {
    .col-sm-custom {
        //width: 92%;
        margin: 25px 25px 0px;
        position: relative;
    }
}

.panel-fullscreen {
    position: fixed;
    height: 100%;
    top: 0px;
    bottom: 0;
    left: 0;
    width: 100%;
    right: 0;
    z-index: 999;
}

.no-padding {
    padding: 0px !important;
}

.no-padding-bottom {
    padding-bottom: 0px !important;
}

.no-padding-top {
    padding-top: 0px !important;
}

.no-padding-left {
    padding-left: 0px !important;
}

.no-padding-right {
    padding-right: 0px !important;
}

.no-margin {
    margin: 0px !important;
}

.no-margin-bottom {
    margin-bottom: 0px !important;
}

.no-margin-top {
    margin-top: 0px !important;
}

.no-margin-left {
    margin-left: 0px !important;
}

.no-margin-right {
    margin-right: 0px !important;
}

.position-relative {
    position: relative;
}

.pagination-box {
    margin-top: 15px;
}

.ellipsis {
    @include ellipsis();
    margin-bottom: 10px;
}

.readOnlyLink {
    @include ellipsis();
    .deleteBtn {
        padding: 0px 5px;
    }
    a {
        color: $delete_link !important;
    }
}

.add-seperator {
    margin-bottom: 10px;
    border-bottom: 1px solid $color_mirage_approx;
    padding-bottom: 10px;
}

.legend-sm {
    font-size: 17px;
}

.errorClass {
    border: 1px solid red !important;
    box-shadow: none !important;
}

fieldset.fieldset-child-pd>div {
    padding-left: 12px;
}

.inline-content {
    >.inline {
        display: inline-block;
        &+.inline {
            margin-left: 5px;
        }
    }
}

.inline-content-fl {
    @extend .inline-content;
    >.inline {
        display: block;
        float: left;
    }
}

.inline-content-fr {
    @extend .inline-content-fl;
    >.inline {
        float: right;
        &+.inline {
            margin-right: 5px;
        }
    }
}

.has-error {
    .select2-selection--single,
    .select2-selection--multiple {
        border-color: $color_apple_blossom_approx;
    }
}

.table-action-btn {
    position: absolute;
    right: 0px;
}